﻿using System;
using PurchaseSales.Manage.Model.Entities;
using PurchaseSales.Manage.Services;

namespace PurchaseSales.Manage.Repositories
{
    public class CommodityRepository : Repository<Commodity>, ICommodityRepository
    {
        public void Save(Commodity commodity)
        {
            Session.SaveOrUpdate(commodity);
            Session.Flush();
        }


    }
}